package csu.edu.flatprogram.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Component
@TableName("orders")
public class Order {
    @TableId(value = "orderid",type = IdType.INPUT)
    private int orderId;
    @TableField(value = "userid")
    private String userid;
    @TableField(value = "orderdate")
    private Date orderDate;
    @TableField(value = "billaddr1")
    private String billAddress1;
    @TableField(value = "billaddr2")
    private String billAddress2;



}
